import Vue from 'vue'
import App from '@/App.vue'
import router from '@/router'
import store from '@/store'

// 引入的第三方库
import Vant from 'vant'

// 引入自定义组件
import response from '@/utils/response'
import GlobalComponents from '@/components/index.js'
import ObjectCollect from '@/utils/object.js'
import fotter from '@/views/dealtwith/common/footer.vue'
Vue.component('fotter-view',fotter)


// 引入第三方样式
import '@/iconfont/iconfont.css'
import 'vant/lib/index.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 引入自定义样式
import '@/styles/icofont.less'
import '@/styles/index.less'

// 引入Excel相关文件
import XLSX from 'xlsx'
Vue.prototype.XLSX = XLSX

// Excel导出
import Blob from '../public/excel/Blob'

//自适应
// import Respon from '@/views/dealtwith/common/js/Responsive'
// Vue.use(Respon)

// 引入Meta
import Meta from 'vue-meta'

Vue.use(Meta)
//引入echarts
//import echarts from 'echarts'

// Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
Vue.prototype.$response = response
Vue.prototype.$vo = ObjectCollect
Vue.prototype.$notify.setDefaultOptions({ duration: 5000 })

Vue.use(Vant)
Vue.use(GlobalComponents)
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
